
<div id="main-content" class="prepend-1 span-19 last">
	<h3>Ganti Password</h3>
	<?php 
		if ($changestatus == 'success') {
			echo '<span class="info">Password berhasil diganti.</span>';
			echo '<div clas="clear">'.nbs().'</div>';
		} else if ($changestatus == 'failed') {
			echo '<span class="error">Gagal ganti password. Silakan coba beberapa saat lagi.</span>';
			echo '<div clas="clear">'.nbs().'</div>';
		}
		echo form_open('sponsor/profile/changepassword', array('class' => 'form'));
	?>
	<table>
		<tr>
			<td width="200px"><label>Password Lama</label></td>
			<td>
				<input style="width:300px!important" type="password" name="old" id="old" maxlength="32" />
				<?php echo form_error('old'); ?>
			</td>
		</tr>
		<tr>
			<td width="200px"><label>Password Baru</label></td>
			<td>
				<input style="width:300px!important" type="password" name="new" id="new" maxlength="32" />
				<?php echo form_error('new'); ?>
			</td>
		</tr>
		<tr>
			<td width="200px"><label>Konfirmasi Password Baru</label></td>
			<td>
				<input style="width:300px!important" type="password" name="confirm" id="confirm" maxlength="32" />
				<?php echo form_error('confirm'); ?>
			</td>
		</tr>
	</table>
	<input type="hidden" name="username" id="username" value="<?php echo $username; ?>" />
	<input type="submit" name="submit" id="submit" class="submit" value="Ganti Password" />
	<div class="clear"><?php echo nbs(); ?></div>
</div>
